An Õ(m2n) Randomized Algorithm to Compute a Minimum Cycle Basis of a Directed Graph
نویسنده
چکیده
We consider the problem of computing a minimum cycle basis in a directed graph G. The input to this problem is a directed graph whose arcs have positive weights. In this problem a 1 0 1 incidence vector is associated with each cycle and the vector space over generated by these vectors is the cycle space of G. A set of cycles is called a cycle basis of G if it forms a basis for its cycle space. A cycle basis where the sum of weights of the cycles is minimum is called a minimum cycle basis of G. The current fastest algorithm for computing a minimum cycle basis in a directed graph with m arcs and n vertices runs in Õ mω 1n time (where ω 2 376 is the exponent of matrix multiplication). If one allows randomization, then an Õ m3n algorithm is known for this problem. In this paper we present a simple Õ m2n randomized algorithm for this problem. The problem of computing a minimum cycle basis in an undirected graph has been well-studied. In this problem a 0 1 incidence vector is associated with each cycle and the vector space over 2 generated by these vectors is the cycle space of the graph. It is not known if an efficient algorithm for undirected graphs automatically translates to an efficient algorithm for directed graphs. The fastest known algorithm for computing a minimum cycle basis in an undirected graph runs in O m2n mn2 logn time and our randomized algorithm for directed graphs almost matches this running time.
منابع مشابه
A Faster Deterministic Algorithm for Minimum Cycle Bases in Directed Graphs
We consider the problem of computing a minimum cycle basis in a directed graph. The input to this problem is a directed graph G whose edges have non-negative weights. A cycle in this graph is actually a cycle in the underlying undirected graph with edges traversable in both directions. A {−1,0,1} edge incidence vector is associated with each cycle: edges traversed by the cycle in the right dire...
متن کاملFaster Randomized and Deterministic Algorithms for Minimum Cycle Bases in Directed Graphs
We consider the problem of computing a minimum cycle basis in a directed graph. The input to this problem is a directed graph G whose edges have non-negative weights. A cycle in this graph is actually a cycle in the underlying undirected graph with edges traversable in both directions. A {−1,0,1} edge incidence vector is associated with each cycle: edges traversed by the cycle in the right dire...
متن کاملFaster Algorithms for Minimum Cycle Basis in Directed Graphs
We consider the problem of computing a minimum cycle basis in a directed graph. The input to this problem is a directed graph G whose edges have nonnegative weights. A cycle in this graph is actually a cycle in the underlying undirected graph with edges traversable in both directions. A {−1, 0, 1} edge incidence vector is associated with each cycle: edges traversed by the cycle in the right dir...
متن کاملA Polynomial Time Algorithm for Minimum Cycle Basis in Directed Graphs
We consider the problem of computing a minimum cycle basis in a directed graph G with m arcs and n vertices. The arcs of G have non-negative weights assigned to them. We give an Õ(mn) algorithm, which is the first polynomial time algorithm for this problem. We also present an Õ(mn) randomized algorithm. The problem of computing a minimum cycle basis in an undirected graph has been well-studied....
متن کاملBreaking the O(m2n) Barrier for Minimum Cycle Bases
We give improved algorithms for constructing minimum directed and undirected cycle bases in graphs. For general graphs, the new algorithms are Monte Carlo and have running time O(mω), where ω is the exponent of matrix multiplication. The previous best algorithm had running time Õ(m2n). For planar graphs, the new algorithm is deterministic and has running time O(n2). The previous best algorithm ...
متن کامل